import {Consumer} from '../index'

const Divson = () => {
    return (
        <Consumer>
            {({name}) => <div>这是父组件传过来的{name}</div>}
        </Consumer>
    )
}

export default Divson;